<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAppVersionTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('appVersion', function (Blueprint $table) {
            $table->increments('id');
            $table->string('href')->comment('链接');
            $table->string('version')->comment('版本号');
        });
        DB::statement("ALTER TABLE `appVersion` comment '版本表'");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
